package com.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@Api(tags = "登录模块")
@RestController
@RequestMapping("cloud/login/")
public class LogionController {

    @GetMapping("first")
    @ApiOperation(value = "登录测试")
    public String first(){
        System.out.println("首次连接");
        return "成功";
    }
}
